<div>

	<?php if ( empty($photoInfo) ) { ?>
	<h3><?= getTerm('albums', 'create_an_album') ?></h3>
	<?php } else { ?>
	<h3><?= getTerm('albums', 'move_photo_to_new_album') ?></h3>
		
	<div style="float:right;width:120px;border-left:solid 1px #ddd;padding:5px 5px 5px 15px;">
	
		<div><?= getTerm('albums', 'photo_to_move') ?></div>
		<img width="90" src="<?= "/Thumbs/${photoInfo[id]}-square.jpg" ?>" alt="<?= $photoInfo['name'] ?>" title="<?= $photoInfo['name'] ?>" />
		
	</div>
		
	<?php } ?>
	
	<fieldset>
		
		<label><?= getTerm('albums', 'new_name') ?></label>
		<br/>
		<input type="text" name="name" id="newAlbumName" value="" onKeyUp="checkCreate(this.value);" />
		
		<div id="createHint">&nbsp;</div>
		
		<br/>
		
		<div class="validationButtons">
			<input type="button" value="<?= getTerm('albums', 'create_album') ?>" onClick="createAlbum(<?= $photoInfo['id'] ?>);" />
			<input type="button" value="<?= getTerm('albums', 'cancel') ?>" onClick="showElement('photo-<?= $photoInfo['id'] ?>');hideForm();" />
		</div>
		
	</fieldset>

</div>